- [Listen for connections on a port](#org32c51eb)
- [Connect to server](#orgd42216b)



<a id="org32c51eb"></a>

# Listen for connections on a port

On the server run netcat to listen for any connections and receive messages on a port:

```shell
# verbose verbose listen numeric port 443
netcat -v -v -l -n -p 443
```


<a id="orgd42216b"></a>

# Connect to server

Next connect to the server, to check, whether a firewall blocks the connection:

```shell
netcat domain_or_ip_address 443
test
```

Then `test` should appear as text output on the server.
